Protect __release_resource against resources without parents
authorPhil Elwell <phil@raspberrypi.org>
Fri, 13 Mar 2015 12:43:36 +0000 (12:43 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:42 +0000 (15:44 +0100)
commitd64806445b66c28326e3c27a748be69b43343a76
treee3f1f710d8df531b913cc8141b3d249861c35e43
parent79d397aa9656782ebe5c1f820e5c7815d310d388
Protect __release_resource against resources without parents

Without this patch, removing a device tree overlay can crash here.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
kernel/resource.c